package com.hsteach.web.controller.buildingApply.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "ListHoldingTimeDto", description = "查询时间占用")
@Data
public class ListHoldingTimeDto {

    @ApiModelProperty(value = "场所id", required = true)
    private String buildingId;

    @ApiModelProperty(value = "查询日期 yyyy-MM-dd", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;
}
